# 切换到工作目录
WORKDIR /home/q/lego
COPY . /home/q/lego

# RUN  npm config set registry http://registry.npm.taobao.org/ \
#      && npm install

EXPOSE 3000 22

COPY start.sh /usr/local/bin/start.sh
RUN chmod 777 /usr/local/bin/start.sh

ENTRYPOINT ["/usr/local/bin/start.sh"]


